Retrieval Augmented Generation
RAG
Gets results from a RAG database using a query.
Parameters
dbPath
(string): The path to the db file.query
(string): The query, e.g. "How many otters are there in Denmark?"
Returns
The top 3 matching results from the RAG database. Depends on the RagSettings in the configuration file.